package org.jash.demo2205.shop

import androidx.navigation.fragment.findNavController
import androidx.navigation.ui.setupWithNavController
import com.alibaba.android.arouter.facade.annotation.Route
import dagger.hilt.android.AndroidEntryPoint
import org.jash.demo2205.R
import org.jash.demo2205.databinding.ActivityShopBinding
import org.jash.demo2205.mvvm.BaseActivity
import org.jash.demo2205.mvvm.BaseViewModel
@Route(path = "/shop/shop")
@AndroidEntryPoint
class ShopActivity : BaseActivity<ActivityShopBinding, BaseViewModel>() {
    override fun initData() {
    }

    override fun initView() {
        val controller =
            supportFragmentManager.findFragmentById(R.id.container)?.findNavController()
        controller?.let {
            binding.nav.setupWithNavController(it)
        }
    }

}